<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>开始使用layui</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body>
 <div class="layui-progress">
   <div class="layui-progress-bar" lay-percent="10%"></div>
 </div>
  
 <script>
 //注意进度条依赖 element 模块，否则无法进行正常渲染和功能性操作
 layui.use('element', function(){
   var element = layui.element;
 });
 </script>
 
 <div class="layui-progress" lay-showPercent="true">
   <div class="layui-progress-bar layui-bg-red" lay-percent="1/3"></div>
 </div>
        
 <div class="layui-progress" lay-showPercent="yes">
   <div class="layui-progress-bar layui-bg-red" lay-percent="30%"></div>
 </div>
  
 <div class="layui-progress layui-progress-big" lay-showPercent="yes">
   <div class="layui-progress-bar layui-bg-green" lay-percent="50%"></div>
 </div>
 
 <div class="layui-progress layui-progress-big">
   <div class="layui-progress-bar" lay-percent="20%"></div>
 </div>
  
 <div class="layui-progress layui-progress-big">
   <div class="layui-progress-bar layui-bg-orange" lay-percent="50%"></div>
 </div>
  
 <div class="layui-progress layui-progress-big" lay-showPercent="true">
   <div class="layui-progress-bar layui-bg-blue" lay-percent="80%"></div>
 </div>
 
 <div class="layui-card">
   <div class="layui-card-header">卡片面板</div>
   <div class="layui-card-body">
     卡片式面板面板通常用于非白色背景色的主体内<br>
     从而映衬出边框投影
   </div>
 </div>
</body>
<script src="../layui/layui.all.js"></script>
</html>